package com.nb.provider;


/**
 * 响应枚举
 * * 1000-- 通用错误代码
 */
public enum ResultEnum {

    SUCCESS(200, "成功"),
    FAIL(500, "失败"),




    PARAM_ERROR(1001,"参数错误"),

    SIGN_AUTH_FAIL(4001,"签名错误"),


    //学习报告
    LESSON_ID_NOT_NULL(2001,"课次id不能为空"),
    STU_NUM_NOT_NULL(2002,"学员号不能为空"),






  ;

    ResultEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    private Integer code;

    private String msg;

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
